home *** CD-ROM | disk | FTP | other *** search
- Path: charm.il.ft.hse.nl!not-for-mail
- From: robert@il.ft.hse.nl (Robert Klep)
- Newsgroups: comp.lang.c
- Subject: Re: How to listen to a port < 1024
- Date: 10 Jan 1996 16:06:51 +0100
- Organization: LSD...melts in your mind, not in your hand
- Message-ID: <4d0kmb$sha@charm.il.ft.hse.nl>
- References: <brianrDKvJAx.MzG@netcom.com>
- NNTP-Posting-Host: charm.il.ft.hse.nl
- Keywords: IP, port
-
- brianr@netcom.com (Brian Rankin):
- >I have a program that listens to a port on an IP address. I'd like it
- >to listen to port 80, but don't know how to make this happen (I understand
- >that ports < 1024 are somehow "restricted"...). What's the proper way to
- >make this work? Sorry if I'm posting to the incorrect newsgroup..
-
- Ports below 1024 are reserved for superuser only, so run the program as
- root, make it suid-root (be careful) or pick a port which is 1024+.
- Btw, the correct newsgroup you're looking for is comp.unix.programmer.
-
- robert
-